<template>
  <div class="header-container">
    <div class="header-box">
      <div class="header-logo">
        <img src="@/assets/logo.png" alt="">
      </div>
    </div>
    <bodyBanner></bodyBanner>
  </div>
</template>

<script setup>
import bodyBanner from '../Body/body-banner.vue';
</script>

<style scoped lang="scss">
.header-container {
  width: 100%;
  height: 1080px; // 总高度设为1080px
  position: relative;
}

.header-box {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10; // 确保logo在banner上方
  background: transparent; // 移除背景色
  
  .header-logo {
    width: 64%;
    height: 100px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    
    img {
      width: 234px;
      height: 50px;
    }
  }
}
</style>